<?php
require_once '../lib/simpletest/autorun.php';
require_once '../core/functions.php';

class FunctionsTests extends UnitTestCase{

  function testValidateEmail(){
    $this->assertTrue(check_email_address('allan@test.com'));
    $this->assertFalse(check_email_address('blah'));
  }
}
?>
